package com.qys.livesMall.system.modal.vo;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author Admin
 */
@Data
public class BankVO {

    @JSONField(serializeUsing = ToStringSerializer.class)
    @Schema(description = "id")
    private Long id;

    @Schema(description = "银行名称")
    private String bankName;

    @Schema(description = "图标")
    private String bankIcon;

    @Schema(description = "状态，是否可用（0不可用，1可用）")
    private Integer state;

    @Schema(description = "创建人")
    private String createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+0")
    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新人")
    private String updateBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+0")
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
}
